﻿/*  
 *  IIS LogFile Analyser, Copyright (C) 2013. http://www.iis-analyser.com
 *  --
 *  This program is free software, provided "AS IS" WITHOUT ANY WARRANTY; without even the implied warranty of 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
 * 
 *  File Author: Ian Quigley,    2013-02-23
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LogParser.DTO
{
    public class ReadError : IDocumentLine
    {
        public string Message { get; private set; }
        private bool _isComment;

        public ReadError( string message, bool isComment = false )
        {
            Message = message;
            _isComment = isComment;
        }

        public bool IsError
        {
            get { return true; }
        }

        public bool IsComment
        {
            get { return _isComment; }
        }
    }
}
